package com.ncloud.resman.service;

import com.ncloud.resman.entity.DeviceBase;

/**
 * Created by shiqiang on 2017/8/15.
 */
public interface DeviceBaseService {
    Long insertDeviceBase(DeviceBase deviceBase);
    int updateDeviceBase(DeviceBase deviceBase);
    DeviceBase getDeviceBaseByDeviceId(Long deviceId);
    int updateDeviceBaseState(Long deviceId,String state);
    int deleteDeviceBase(Long deviceId);
    int existsDeviceBySnNum(String snNum);
    Long getDeviceIdBySnNum(String snNum);
}
